﻿/*
    Write a program that shows the sign (+, - or 0) of the product of three real numbers, without calculating it.
    Use a sequence of if operators.
 */
using System;

class MultiplicationSign
{
    static void Main()
    {

        double numberA;
        double numberB;
        double numberC;
        double result;

        Console.WriteLine("Enter first number: ");
        numberA = double.Parse(Console.ReadLine());
        Console.WriteLine("Enter second number: ");
        numberB = double.Parse(Console.ReadLine());
        Console.WriteLine("Enter third number: ");
        numberC = double.Parse(Console.ReadLine());

        result = numberA * numberB * numberC;

        if (result > 0)
        {
            Console.WriteLine(@"The sign is: ""+""");
        }
        if (result == 0)
        {
            Console.WriteLine(@"The sign is: ""0""");
        }
        if (result < 0)
        {
            Console.WriteLine(@"The sign is: ""-""");
        }
    }

}